@use "@fssc/admin/src/styles/element/index" as *;
@use "@fssc/admin/src/styles/global" as *;

.app {
  width: 100%;
  height: 100%;
}

// 详情页样式
.detail-box {
  display: flex;
  align-items: stretch;

  .text-box {
    flex: 1;
  }

  .divider {
    width: 1px;
    margin: 0 20px 0 17px;
    background-color: #EBECEF;
  }

  .text-row {
    display: flex;
    align-items: flex-start;
    font-size: 13px;
    line-height: 18px;
    font-style: normal;

    .text-label {
      min-width: 70px;
      color: #86909C;
      text-align: right;
    }

    .text-value {
      flex: 1;
      margin-left: 10px;
      color: #1D2129;
      overflow: hidden;
    }

    & + .text-row {
      margin-top: 10px;
    }

    .text-btn {
      padding-left: 8px;
      font-size: 13px;
      cursor: pointer;
    }
  }
}

// 详情样式，用grid布局
.text-grid{
  width: 100%;
  position: relative;
  display: grid;
  row-gap: 10px;

  &::before,
  &::after {
    display: block;
    position: absolute;
    top: 2px;
    bottom: 0;
    width: 1px;
    background-color: #EBECEF;
  }

  &.column-2 {
	  grid-template-columns: 1fr 1fr;

    &::before {
      content: '';
      left: 50%;
    }
  }

  &.column-3 {
    grid-template-columns: 1fr 1fr 1fr;

    &::before {
      content: '';
      left: 33.3%;
    }
    &::after {
      content: '';
      left: 66.6%;
    }
  }

  .divider {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: #EBECEF;
  }

  .text-cell {
    display: flex;
    align-items: flex-start;
    font-size: 13px;
    line-height: 18px;
    font-style: normal;

    .text-label {
      min-width: 70px;
      color: #86909C;
      text-align: right;
    }

    .text-value {
      flex: 1;
      margin-left: 10px;
      color: #1D2129;
      overflow: hidden;
    }

    .text-btn {
      padding-left: 8px;
      font-size: 13px;
      cursor: pointer;
    }
  }
}

.section-title {
  margin: 0;
  padding: 0;
  font-weight: bold;
  font-size: 14px;
  color: #1D2129;
  line-height: 22px;
  text-align: left;
  font-style: normal;
}

.statisc-box {
  .statisc-text{
    color: #4E5969;
    margin-right: 15px;
  }
}
.w100p {
  width:100%
}

// end 详情页公共样式
.pub_dialog {
  margin: 0 !important;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 90%;
  overflow: hidden;

  .el-dialog__body {
    position: absolute;
    left: 0;
    top: 54px;
    bottom: 60px;
    right: 0;
    padding: 0;
    z-index: 1;
    overflow: hidden;
    overflow-y: auto;
  }

  .mainBox {
    height: 100% !important;
  }

  .el-dialog__footer {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
  }
}

.el-table--enable-row-hover .el-table__body tr:hover > td.el-table__cell{
    background-color: #F0F4FB;;
}
.el-form--inline .el-form-item {
    margin-right: 10px;
}
.el-popper {
  padding: 15px;
}

.el-popper.is-dark {
  padding: 8px;
  max-width: 400px !important;
}

.el-table__header {
    .el-table__cell {
        &::before {
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            content: '';
            width: 1px;
            height: 18px;
            background: #D9D9D9;
        }
    }

    .el-table-fixed-column--left,
    .el-table-fixed-column--right {
        &::before {
            display: none;
        }
    }
}
.el-table th.el-table__cell>.cell,
.el-form-item__label {
    color: #595959;
    font-size: 14px;
}
.el-table__header-wrapper tr td.el-table-fixed-column--left.is-last-column::before, .el-table__header-wrapper tr td.el-table-fixed-column--left.is-first-column::before, .el-table__header-wrapper tr td.el-table-fixed-column--right.is-last-column::before, .el-table__header-wrapper tr td.el-table-fixed-column--right.is-first-column::before, .el-table__header-wrapper tr th.el-table-fixed-column--left.is-last-column::before, .el-table__header-wrapper tr th.el-table-fixed-column--left.is-first-column::before, .el-table__header-wrapper tr th.el-table-fixed-column--right.is-last-column::before, .el-table__header-wrapper tr th.el-table-fixed-column--right.is-first-column::before, .el-table__body-wrapper tr td.el-table-fixed-column--left.is-last-column::before, .el-table__body-wrapper tr td.el-table-fixed-column--left.is-first-column::before, .el-table__body-wrapper tr td.el-table-fixed-column--right.is-last-column::before, .el-table__body-wrapper tr td.el-table-fixed-column--right.is-first-column::before, .el-table__body-wrapper tr th.el-table-fixed-column--left.is-last-column::before, .el-table__body-wrapper tr th.el-table-fixed-column--left.is-first-column::before, .el-table__body-wrapper tr th.el-table-fixed-column--right.is-last-column::before, .el-table__body-wrapper tr th.el-table-fixed-column--right.is-first-column::before, .el-table__footer-wrapper tr td.el-table-fixed-column--left.is-last-column::before, .el-table__footer-wrapper tr td.el-table-fixed-column--left.is-first-column::before, .el-table__footer-wrapper tr td.el-table-fixed-column--right.is-last-column::before, .el-table__footer-wrapper tr td.el-table-fixed-column--right.is-first-column::before, .el-table__footer-wrapper tr th.el-table-fixed-column--left.is-last-column::before, .el-table__footer-wrapper tr th.el-table-fixed-column--left.is-first-column::before, .el-table__footer-wrapper tr th.el-table-fixed-column--right.is-last-column::before, .el-table__footer-wrapper tr th.el-table-fixed-column--right.is-first-column::before{
    box-shadow: none;
}